home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 2.9 KB | 101 lines | [TEXT/MPS ] |
- /*
- File: Processes.idl
-
- Contains: Process Manager Interfaces.
-
- Version: Technology: System 7.5
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __PROCESSES_IDL__
- #define __PROCESSES_IDL__
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- #ifndef __TYPES_IDL__
- #include <Types.idl>
- #endif
- #ifndef __EVENTS_IDL__
- #include <Events.idl>
- #endif
- #ifndef __FILES_IDL__
- #include <Files.idl>
- #endif
- #if FOR_SYSTEM8_PREEMPTIVE
- #ifndef __KERNEL_IDL__
- #include <Kernel.idl>
- #endif
- #ifndef __FILEMANAGERTYPES_IDL__
- #include <FileManagerTypes.idl>
- #endif
- #endif
-
- #ifdef __SOMIDL__
-
- /* type for unique process identifier */
- typedef SOMLargeStruct ProcessSerialNumber; /* Derived from a struct of 8 bytes in size */
-
- typedef OpaquePtr ProcessSerialNumberPtr; /* Substituted OpaquePtr for “ProcessSerialNumber*” */
-
- #if FOR_SYSTEM8_PREEMPTIVE
- typedef SOMLargeStruct ApplicationInformation; /* Derived from a struct of 12 bytes in size */
-
- typedef OpaquePtr ApplicationInformationPtr; /* Substituted OpaquePtr for “ApplicationInformation*” */
-
- typedef SOMFourByteStruct LaunchInformation; /* Derived from a struct of 4 bytes in size */
-
- typedef OpaquePtr LaunchInformationPtr; /* Substituted OpaquePtr for “LaunchInformation*” */
-
- /* for now, the launch call only supports an application in the FSObjectSpecification*/
- #endif
- /* Definition of the parameter block passed to _Launch */
- /*
- Typedef and flags for launchControlFlags field
- #if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED??
- */
- typedef unsigned short LaunchFlags;
-
- /*
- Format for first AppleEvent to pass to new process. The size of the overall
- buffer variable: the message body immediately follows the messageLength
- */
- typedef SOMLargeStruct AppParameters; /* Derived from a struct of 24 bytes in size */
-
- typedef OpaquePtr AppParametersPtr; /* Substituted OpaquePtr for “AppParameters*” */
-
- /* Parameter block to _Launch */
- typedef SOMLargeStruct LaunchParamBlockRec; /* Derived from a struct of 44 bytes in size */
-
- typedef OpaquePtr LaunchPBPtr; /* Substituted OpaquePtr for “LaunchParamBlockRec*” */
-
- /*
- Set launchBlockID to extendedBlock to specify that extensions exist.
- Set launchEPBLength to extendedBlockLen for compatibility.
- */
- /* Record returned by GetProcessInformation */
- typedef SOMLargeStruct ProcessInfoRec; /* Derived from a struct of 60 bytes in size */
-
- typedef OpaquePtr ProcessInfoRecPtr; /* Substituted OpaquePtr for “ProcessInfoRec*” */
-
- /* #endif // FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED??*/
- #if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
- #endif
- #if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
- #if !OLDROUTINELOCATIONS
- #endif
- #endif
-
- #endif /* __SOMIDL__ */
-
- #endif /* __PROCESSES_IDL__ */
-
-